package com.bw.corterllor;

import com.bw.service.OrderinfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

@RestController
public class OrderinfoCorterllor {
    @Autowired
    OrderinfoService orderinfoService;

    @RequestMapping("/findorderifonlist")
    public List<Map<String,Object>> findorderifonlist(){
        return orderinfoService.findorderifonlist();
    }

    @RequestMapping("/find10")
    public List<Map<String,Object>> find10(){
        return orderinfoService.find10();
    }

    @RequestMapping("/find11")
    public List<Map<String,Object>> find11(){
        return orderinfoService.find11();
    }

    @RequestMapping("/find12")
    public List<Map<String,Object>> find12(){
        return orderinfoService.find12();
    }

    @RequestMapping("/find13")
    public List<Map<String,Object>> find13(){
        return orderinfoService.find13();
    }

    @RequestMapping("/find14")
    public List<Map<String,Object>> find14(){
        return orderinfoService.find14();
    }

    @RequestMapping("/find15")
    public List<Map<String,Object>> find15(){
        return orderinfoService.find15();
    }
}
